home *** CD-ROM | disk | FTP | other *** search
/ Champak 28 / Volume 28 - JOGO DISK .iso / Games / capizappy.swf / scripts / DefineSprite_264 / frame_1 / PlaceObject2_213_5 / CLIPACTIONRECORD on(keyPress Up).as
Text File  |  2006-11-13  |  1KB  |  46 lines

  1. on(keyPress "<Up>"){
  2.    _parent.capnzappygameplay.gotoAndPlay("shootup");
  3.    if(upenemyready == true)
  4.    {
  5.       _parent.score += 100;
  6.       _parent.kills += 1;
  7.       if(_parent.kills == 20)
  8.       {
  9.          _root.gameplaymove.gotoAndPlay("fliphorizontal");
  10.       }
  11.       if(_parent.kills == 30)
  12.       {
  13.          _root.gameplaymove.gotoAndPlay("fliphorizontalback");
  14.       }
  15.       if(_parent.kills == 50)
  16.       {
  17.          _root.gameplaymove.gotoAndPlay("rotate");
  18.       }
  19.       if(_parent.kills == 60)
  20.       {
  21.          _parent.grimstroll.play();
  22.       }
  23.       if(_parent.kills == 70)
  24.       {
  25.          _root.gameplaymove.gotoAndPlay("flipvertical");
  26.       }
  27.       if(_parent.kills == 80)
  28.       {
  29.          _root.gameplaymove.gotoAndPlay("flipverticalback");
  30.       }
  31.       if(_parent.kills == 100)
  32.       {
  33.          _parent.oneup.play();
  34.          _parent.heartmeter.prevFrame();
  35.          _parent.kills = 0;
  36.       }
  37.       gotoAndStop("enemykill");
  38.       play();
  39.    }
  40.    if(upprincess == true)
  41.    {
  42.       gotoAndStop("princesshit");
  43.       play();
  44.    }
  45. }
  46.